How to derive different power formula